Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Added sklearn wrapper for AuthorTopic model #1403

Merged
merged 16 commits into from
Jun 28, 2017

Conversation

chinmayapancholi13
Copy link
Contributor

This PR adds scikit-learn wrapper for Gensim's AuthorTopic model.

@menshikh-iv
Copy link
Contributor

As well as comments in PR 1405

@chinmayapancholi13 chinmayapancholi13 changed the title [WIP] Added sklearn wrapper for AuthorTopic model [MRG] Added sklearn wrapper for AuthorTopic model Jun 28, 2017
@menshikh-iv menshikh-iv merged commit 7ccaabc into piskvorky:develop Jun 28, 2017
saparina pushed a commit to saparina/gensim that referenced this pull request Jul 9, 2017
* added sklearn wrapper for author topic model

* added 'fit', 'partial_fit', 'transform' functions

* added unit-tests for ATModel

* refactored code acc. to composite design pattern

* refactored wrapper and tests

* removed 'self.corpus' attribute

* updates 'self.model' to 'self.gensim_model'

* updated 'fit' and 'transform' functions

* updated 'testTransform' test

* updated 'tranform' function slightly

* updated 'testTransform' test

* PEP8 change

* updated 'testTransform' test

* included 'NotFittedError' error

* added pipeline unittest for ATModel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants